import { inputConf } from "./form_item/Input";
import { radioConf } from "./form_item/Radio";
import { checkBoxConf } from "./form_item/CheckBox";
import { datePickerConf } from "./form_item/DatePicker";
import { fileConf } from "./form_item/File";
import { imageConf } from "./form_item/Image";
import { textareaConf } from "./form_item/Textarea";
import { selectConf } from "./form_item/Select";
import { selectBoxConf } from "./form_item/SelectBox";
import { rateConf } from "./form_item/Rate";
import { switchConf } from "./form_item/Switch";
import { sliderConf } from "./form_item/Slider";
import { vueEditorConf } from "./form_item/VueEditor";

const formList = {
  input: inputConf,
  textarea: textareaConf,
  radio: radioConf,
  checkBox: checkBoxConf,
  select: selectConf,
  selectBox: selectBoxConf,
  datePicker: datePickerConf,
  image: imageConf,
  file: fileConf,
  rate: rateConf,
  switch: switchConf,
  slider: sliderConf,
  vueEditor:vueEditorConf
};
let list_arr = [];
for (let i in formList) {
  list_arr.push({
    ele: i,
    obj: formList[i],
  });
}
export default list_arr;
